package com.yupi.springbootinit.datasource;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Component;

@Component
public interface SearchDatasource<T> {
    Page<T> search(String searchText, int pageNum, int pageSize);
}
